package hu.village.service;

import hu.village.pojo.Account;
import hu.village.pojo.PageBean;
import hu.village.pojo.User;
import hu.village.pojo.Village;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface CommitteeService {
    void bindingVillage(Village village);

    void submit(Account account);

    void updateAccount(Account account);

    PageBean selectHistoryAccount(Account account,Integer page,Integer pageSize);

    List<User> selectApplication();

    void processApplication(Integer choice,Integer id);
}
